
import { ElMessage } from 'element-plus'

export const success = (a) => {
  ElMessage({
    message: a,
    type: 'success',
    plain: true,
  })
}
 export const warning = (a) => {
  ElMessage({
    message: a,
    type: 'warning',
    plain: true,
  })
}
export const message = (a) => {
  ElMessage({
    message: a,
    type: 'info',
    plain: true,
  })
} 
export const errors = (a) => {
  ElMessage({
    message: a,
    type: 'error',
    plain: true,
  })
}
